 begintownscript;
variables;
short choice,i;

body;
beginstate init_state;
i = 0;
while(char_ok(i) == 0){
	i = i + 1;
}
relocate_character(i,11,18);
set_character_facing(i,4);
force_view_center(11,18);
put_boom_on_char(i,2,0);
put_boom_on_char(6,2,0);
run_animation_sound(10);
force_instant_terrain_redraw();
pause(5);
message_dialog("When we reappeared we were standing in a clearing just outside the city walls.","");
set_name(6,"Theo");
set_char_dialogue_pic(6,303,0);
break;

beginstate exit_state;
break;

beginstate start_state;
break;

beginstate 10;
if(get_flag(19,0) == 1){
	reset_dialog();
	add_dialog_str(0,"I don't know what happened those next couple hours, except that they were happier than the last five years of my life combined. The trees, the grass, the blue sky-- it was all so wondrous.",0);
	add_dialog_str(1,"_But most of all it was silent. There were no shopkeepers crying their wares, jeering crowds, rude passerby bumping through the crowds.",0);
	add_dialog_str(2,"That was all on the other side of the wall. The din and the masses had no place here-- they were confined to their cell thousands of miles away, and I was free.",0);
	add_dialog_str(3,"I am free.....",0);
	add_dialog_choice(0,"OK");
	choice = run_dialog(1);
	erase_char(6);
}
if(get_flag(19,0) == 3){
	reset_dialog();
	add_dialog_str(0,"I stayed in that clearing until night fell. At some point Theo left, although I didn't mark his departure. I was too busy enjoying my freedom the way I'd long given up even dreaming of doing.",0);
	add_dialog_str(1,"As night fell the entrancing beauty of the day left, and the charm that it had cast on me faded with it. I realized then that I hadn't eaten since the slop that morning, and was famished.",0);
	add_dialog_str(2,"I dimly remembered Theo mentioning the Tabard Inn before he left, and the promise of roast pheasant was too great to resist.",0);
	add_dialog_str(3,"So I made straight for this place, and I tell you, friend, I haven't been disappointed. A more delicious meal or better company I can't recall.",0);
	add_dialog_choice(0,"Nice of you to say so.");
	choice = run_dialog(1);
	set_flag(250,2,2);
	move_to_new_town(31,27,24);
}
inc_flag(19,0,1);
break;

beginstate 100;
block_entry(1);
set_state_continue(10);
break;